/**
 * 
 */
package hu.gbalage.directories;

import java.util.List;

/**
 * @author balage
 *
 */
public interface IDirectory extends IEntry{

	/**
	 * List all child entries in this directory. Implementors should never return null, even
	 * there isn't any child entries. Return an empty list instead.
	 * @return
	 */
	public List<IEntry> getChildren();
	
	/**
	 * Try to put the given entry to this directory, and return true if the operation was 
	 * successful, false otherwise
	 * @param entry
	 * @return
	 */
	public boolean put(IEntry entry);
	
}
